<!DOCTYPE html>
<html>
<head>
<title>满标待审借款</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<#include "../../../include/resources.html">
<script type="text/javascript">
	var dataGrid;
    $(function() {
    	dataGrid = $('#getMobileList').datagrid({
            url : '/modules/loan/borrow/getMobileList.html',
            fit : true,
            fitColumns : true,
            border : false,
            pagination : true,
            idField : 'userId',
            pageSize : pageSize,
            pageNums :1,
            pageList : pageList,
            sortName : 'id',
            sortOrder : 'asc',
            checkOnSelect : false,
            selectOnCheck : false,
            nowrap : false,
			singleSelect:true,
            columns : [ [
			  	{ field: 'userId', title: '序号', sortable:false},
              	{ field: 'realName', title: '借款姓名', sortable:false},
              	{ field: 'userName', title: '借款用户名', sortable:false},
				{ field: 'mobilePhone', title: '手机号', sortable:false,width:100 }
             ]]
        }); 
    });
    var getSelected = function($dialog, $input) {
    	var selected = $('#getMobileList').datagrid('getSelected');
    	$input.val(selected.mobilePhone);
    	$dialog.dialog('destroy');
    };
    
</script>
<body>
<div class="easyui-layout" data-options="fit : true,border : false">
	<div data-options="region:'north',border:false,collapsible:false" id="searchBox"  style="margin-top:0;">
		<div class="sLeft">
         <form id="searchForm">
         	<input type="text"  name="searchName" class="sInput" placeholder="输入姓名/用户名进行搜索" autocomplete="off" onkeydown="if(event.keyCode == 13){ $.fn.dataGridOptions.searchFun('#searchForm');return false;}"/>
         	<a href="javascript:;" title="查询" class="sBtn" onclick="$.fn.dataGridOptions.searchFun('#searchForm');">查询</a>
         </form>
        </div>
     </div>
	<div data-options="region:'center'" style="margin-top:10px;padding-bottom:10px;">
	    <table id="getMobileList"></table>
	</div>
</div>
</body>
</html>


